package com.erpbo.ebapp.model;

import act.db.DB;
import io.ebean.bean.EntityBean;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@DB("db1")
@Entity(name="ebwxcp_user")
public class EbwxcpUser {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "userId")
	private String userId;

	@Column(name = "avatar")
	private String avatar;

	@Column(name = "email")
	private String email;

	@Column(name = "enable")
	private int enable;

	@Column(name = "englishName")
	private String englishName;

	@Column(name = "gender")
	private int gender;

	@Column(name = "hideMobile")
	private int hideMobile;

	@Column(name = "isLeader")
	private int isLeader;

	@Column(name = "mobile")
	private String mobile;
	
	@Column(name = "name")
	private String name;
	
	@Column(name = "position")
	private String position;
	
	@Column(name = "status")
	private int status;
	
	@Column(name = "telephone")
	private String telephone;

	

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getAvatar() {
		return this.avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getEnable() {
		return this.enable;
	}

	public void setEnable(int enable) {
		this.enable = enable;
	}

	public String getEnglishName() {
		return this.englishName;
	}

	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}

	public int getGender() {
		return this.gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public int getHideMobile() {
		return this.hideMobile;
	}

	public void setHideMobile(int hideMobile) {
		this.hideMobile = hideMobile;
	}

	public int getIsLeader() {
		return this.isLeader;
	}

	public void setIsLeader(int isLeader) {
		this.isLeader = isLeader;
	}

	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPosition() {
		return this.position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public int getStatus() {
		return this.status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	

}
